/**
 * Copyright 2015-2016 eyaomall.cn
 * All rights reserved.
 *
 * @project
 * @author jackey
 * @version 1.0
 * @date 2016-01-06
 */
package com.eyaomall.wxmall.dao;

import org.springframework.stereotype.Repository;

import com.eyaomall.wxmall.model.po.TransTemplateCity;
import com.lycheeframework.core.annotation.NameSpace;
import com.lycheeframework.core.support.DaoSupport;

@Repository
@NameSpace("trans_template_city")
public class TransTemplateCityDao  extends DaoSupport<TransTemplateCity>{
	
	/**
	 * 根据模板Id查询
	 */
	public TransTemplateCity queryByTemplateId(int templateId,int ciytId){
		TransTemplateCity tt = new TransTemplateCity();
		tt.setTemplateId(templateId);
		tt.setCityId(ciytId);
		return (TransTemplateCity) super.query("queryByTemplateId",tt);
	}
}
